/**
 * 2016，thor.com，all rights reserved。
 * 
 * Project：		palmmall-api
 * Filename：	ADeviceInspectService.java
 * Created：		2016年8月28日
 * Creator：		wolv
 */
package com.thor.palmmall.rest.device.inspect;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import com.thor.commons.entity.BeanOperateInfo;
import com.thor.commons.exception.ThorServiceException;
import com.thor.commons.query.QueryResult;
import com.thor.palmmall.rest.common.AUserGroupLoadParam;

/**
 * @author wolv
 *
 */
@Path("/device/inspect")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public interface ADeviceInspectService {

  @POST
  @Path("/create")
  String create(ADeviceInspect bill, @QueryParam("") BeanOperateInfo operateInfo)
      throws ThorServiceException;

  @POST
  @Path("/save")
  String save(ADeviceInspect bill, @QueryParam("") BeanOperateInfo operateInfo)
      throws ThorServiceException;

  @POST
  @Path("/query")
  QueryResult<ADeviceInspect> query(ADeviceInspectQueryParam queryParam)
      throws ThorServiceException;

  @POST
  @Path("/{id}")
  ADeviceInspect get(@PathParam("id") String id, AUserGroupLoadParam param)
      throws ThorServiceException;

  @GET
  @Path(value = "/queryOutgoingState")
  String[] queryOutgoingState() throws ThorServiceException;

}
